package com.hdw.job.batch.tasklet;

import org.springframework.batch.core.configuration.annotation.StepScope;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
@StepScope
public class AfterSQLExecTasklet extends DelSQLExecTasklet {
    @Value("#{jobParameters[afterSql]}")
    String afterSql;

    @Override
    protected String getSQL() {
        return this.afterSql;
    }
}